﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace pygs.Messaging.Transport
{
    class FileLocationTransporter : FileTransporter<LocationMessage>
    {
        protected override bool DoSend(LocationMessage message, StreamWriter writer)
        {
            writer.WriteLine(message.location.Time.ToShortTimeString() + ": " + message.location.Latitude.ToString() + "   " + message.location.Longitude.ToString());
            return true;
        }
    }
}
